package com.netsdk.service.impl;

import com.netsdk.common.DaHuaDevice;
import com.netsdk.entity.JsonData;
import com.netsdk.service.DeviceInterface;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DeviceImpl implements DeviceInterface {
    @Override
    public JsonData updatePerson(Map<String,Object> paramMap,int type) {
        return DaHuaDevice.updatePerson(paramMap,type);
    }

    @Override
    public JsonData addFace(Map<String,Object> paramMap) {
        return DaHuaDevice.addFace(paramMap);
    }

    @Override
    public JsonData open(String serialNumber) {
        return DaHuaDevice.open(serialNumber);
    }

    @Override
    public JsonData deletePerson(Map<String,Object> paramMap) {
        return DaHuaDevice.deletePerson(paramMap);
    }

    @Override
    public JsonData inOutInfo() {
        return null;
    }
}
